package com.grace.law.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

@Controller
public class LoginController {
	@RequestMapping("/login")
	public String login(@RequestParam("username") String username,@RequestParam("password")String password) {
		System.out.println(username);

		return "redirect:/index.jsp";

	}
}
